const crypto = require('./crypto-js');
const setting = {}
setting.getDebug = function(){
	return false;
}

setting.getErrorPage = function(){
	return '/pages/about/error/error';
}

setting.getHomePage = function(){
	return '/pages/index/index';
}

setting.getLoginPage = function(){
	return '/pages/authentication/login/login';
}
setting.getAppKey = function(){
	return 'com.bamboo.uniapp';
}

setting.getSecret = function(){
	return "3U9MEpavlDGQjfIa5kdShkpXPC3xxFsHmYUTvneY9d5";
}

setting.getSign = function(){
	//const hash = crypto.createHash('md5');
	//hash.update(this.getAppKey()+this.getSecret());
	//return hash.digest('hex');
	return "52c8c24eef27c1be27a798eb440e8229";
}

setting.getWechatAppKey = function(){
	return 'wxd21d7c906ea1a708';
}

setting.getWechatSecret = function(){
	return 'e7f3a3e2b069fa5e6a7c68e74e9d7977';
}

setting.getAesKey = function(){
	return 'PnyKPnyKPnyKPnyKnTvQikldnZSieAqR';
}

setting.getAesIv = function(){
	return '8NONwyJtHesysWpM';
}

export default setting
